<%@ page language="java"  pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
	<meta name="apple-mobile-web-app-capable" content="yes" />
	<meta name="apple-mobile-web-app-status-bar-style" content="black" />
	<meta name="format-detection" content="telephone=no" />
    <title>约来约美 </title>
    <link rel="stylesheet" href="${static_host}style/hhframe-1.0.0.css" />
    <link rel="stylesheet" href="${static_host}style/orderform.css" />
    <script src="${static_host}script/jquery-1.11.1.min.js"></script>
    <script src="${static_host}script/jquery.iscroll.5.js"></script>
    <script src="${static_host}script/hhframe-1.0.0.js"></script>
    <script src="${static_host}script/orderform.js?v=1.1"></script>
</head>
<body>
  
  <div class="framepage orderform">
    
    <!-- header -->
    <div class="header">
      <a href="javascript:history.back();" class="pos-l icon hd-return">返回</a>
      <h1 class="hd-title">订单确认</h1>
    </div>
    
    <!-- content -->
    <div class="wrapper">
    <div class="content">
      
      <div class="intro">
        <h3>基本信息</h3>
        <p>商铺名称：${order.store_name}</p>
        <p>服务名称：${order.item_name}</p>
        <p>预约技师：${order.beautician_name}</p>
        <p>预约时间：<span class="time">${yuyue_time}</span></p>
        <p class="price">价格：￥${order.price}</p>
      </div>
      
      <div class="payment">
        <h3>选择支付：</h3>
        <ul>
        <li class="wxpay selected"><a href="javascript:;">微信支付</a></li>
        <li class="cash"><a href="javascript:;">到店支付</a></li>
        
        </ul>
      </div>
<a href="javascript:;" class="btn buy">确认下单</a>
    <form action="wxpay/payction.do" method="post" class="wxfrom">
  	<s:hidden name="order.order_id" id="order_id" /> 
  	<s:hidden name="order.item_name" id="item_name" /> 
  	<s:hidden name="order.store_name" id="item_name" /> 
  	<s:hidden name="order.beautician_name" id="beautician_name" /> 
  	<s:hidden name="order.start_hour" id="start_hour" /> 
  	<s:hidden name="order.price" id="order_id" /> 
    </form>
    
    </div>
    </div>
    
  </div>
<script type="text/javascript">
function onBridgeReady(){
	 WeixinJSBridge.call('hideOptionMenu');
	}
	if (typeof WeixinJSBridge == "undefined"){
	    if( document.addEventListener ){
	        document.addEventListener('WeixinJSBridgeReady', onBridgeReady, false);
	    }else if (document.attachEvent){
	        document.attachEvent('WeixinJSBridgeReady', onBridgeReady); 
	        document.attachEvent('onWeixinJSBridgeReady', onBridgeReady);
	    }
	}else{
	    onBridgeReady();
	}
</script>
</body>
</html>